package cn.tedu.qxhouserent.house.service;

import cn.tedu.qxhouserent.house.pojo.param.UserHouseCollectionAddNewParam;
import cn.tedu.qxhouserent.house.pojo.param.UserNewsCollectionAddNewParam;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface UserNewsCollectionService {

    void addNew(UserNewsCollectionAddNewParam userNewsCollectionAddNewParam);

    void deleteByUserId(Long userId,Long newsDetailId);

    boolean newsCollectionInfo(Long id, Long newsId);
}
